<template>
	<div>
		{{msg}}
		<button @click="clicks">点击</button>
	</div>
</template>

<script>
export default {
	data(){
		return {
			msg: 'if-else与v-show'
		}
	},
	methods: {
		clicks(){

			this.$axios.post('http://rap.superboss.cc/mockjsdata/179/customer/header').then(res => {
				console.log(res.data)
			})
		}
	}
}
</script>